<?php namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class Article_type extends Model {
	protected $table = 'article_type';
	protected $guarded = ['id'];
	public $timestamps = false;

    public function article()
    {
        return $this->hasMany('App\Models\Article','type_id','id');
    }
	
}
